package cn.bulibuqi.boot05web01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author bulibuqi
 * @create 2021-12-22:27
 */
@Controller
public class ViewTestController {
    @GetMapping("/success")
    public String success(Model model){

        model.addAttribute("msg","你好不离不弃");
        model.addAttribute("link","http://www.baidu.com");
        return "success";
    }
}
